package com.c2.mapper;


import com.c2.entity.EbOrder;
import com.c2.entity.EbOrderDetail;
import org.apache.ibatis.annotations.Param;

import java.util.List;
//@author hx
//@param from 从第几行开始
//@param pageSize 每页显示多少条数据
public interface OrderDetailMapper {
    List<EbOrderDetail> findByPage(@Param("from") Integer from, @Param("pageSize") Integer pageSize);
    /**
     * 添加新闻
     * @param ebOrderDetail 新闻对象
     * @return int -基本数据类型，integer -包装类
     */
    Integer save(EbOrderDetail ebOrderDetail);
    public int delete(Integer eoId);

    /**
     *
     * @param ebOrderDetail
     * @return
     */
    public int updateByPrimaryKey(EbOrderDetail ebOrderDetail);
}
